<script setup lang="ts">
import { useAttrs, useSlots } from "vue";

const columns = $attrs?.columns || [];
columns.map(item => {
  item["align"] = "center";
});
</script>
<template>
  <pure-table
    v-bind="$attrs"
    stripe
    border
    :header-cell-style="{
      textAlign: 'center',
      background: '#f5f7fa'
    }"
  >
  </pure-table>
</template>
